<?php
	if (isset($section) && $section == "404")
	{ 
		header($_SERVER['SERVER_PROTOCOL'].' 404 Not Found');
		$smarty->assign("main_content_template", "404.tpl.html");
	}
?>